CFLAG = -I../mqthird/include																			#编译选项
LFLAG = -L../mqthird/lib -lgtest -lprotobuf -lsqlite3 -pthread  -lmuduo_net -lmuduo_base -lz 					#链接选项
mq_broker: mq_broker.cc ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc ../mqthird/include/muduo/proto/codec.cc
	g++ -g -std=c++17 $(CFLAG) $^ -o $@ $(LFLAG)
.PHONY:clean
clean: 
	rm -rf mq_broker